<div class="ui icon buttons" style="display:inline;">
    <button class="ui button {{slot.color}}" ng-repeat="slot in slots" ng-click="showClientInfo(slot.clientId)"
            ng-class="{'disabled':slot.clientId==''}">
        {{slot.index}}
    </button>
</div>

<dialog id="clientInfoDialog" class="small">
    <dialog-header>
        信息
    </dialog-header>
    <dialog-content>
        <form class="ui form">
            <div class="field">
                <label>客户端</label>
                <input type="text" readonly="readonly" name="client" ng-model="clientInfo.client">
            </div>
            <div class="field">
                <label>地址</label>
                <input type="text" name="host" ng-model="clientInfo.host" readonly="readonly">
            </div>
            <div class="field">
                <label>端口</label>
                <input type="text" name="port" ng-model="clientInfo.port" readonly="readonly">
            </div>
            <div class="field">
                <label>连接数</label>
                <input type="text" name="connection" ng-model="clientInfo.connection" readonly="readonly">
            </div>
            <div class="field">
                <label>超时</label>
                <input type="text" name="timeout" placeholder="超时" ng-model="clientInfo.timeout" readonly="readonly">
            </div>
        </form>
    </dialog-content>
    <dialog-action>
        <dialog-action-ok></dialog-action-ok>
    </dialog-action>
</dialog>